package com.example.yjhuser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yc.yjh.entity.Users;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Tiezi implements Serializable {

    @TableId
    private int id;
    private int uid;
    private String title;
    private String content;
    private String image;
    private String createTime;

    @TableField(exist = false)
    private Users user;
}
